package ooday02.homework.AnimalCase;

public class Test {
    public static void main(String[] args) {
        Chick chick = new Chick("胸大鸡", 3, "棕");
        chick.drink();
        chick.eat();
        chick.layEggs();

        Dog dog = new Dog("大黄", 6, "黄");
        dog.drink();
        dog.eat();
        dog.swim();
        dog.lookHome();

        Fish fish = new Fish("泡泡", 9, "红");
        fish.drink();
        fish.eat();
        fish.swim();


    }
}
